package com.qubuyer.business.mine.activity

import android.os.Bundle
import com.qubuyer.base.activity.HostActivity
import com.qubuyer.business.mine.viewmodel.SettingViewModel
import com.qubuyer.core.app.BaseFragment

/**
 * @author Susong
 * @date 创建时间2019/4/11
 * @description 个人设置activity
 */
class SettingActivity: HostActivity< SettingViewModel>() {
    override val viewModel: SettingViewModel by injectVMByActivity()

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        viewModel.getUserInfo()
    }

    override fun contentFragment(): BaseFragment {
        return SettingFragment()
    }
}